import compose from "koa-compose"
import responseTime from "./responseTime"
import loggerMW from "./logger"
import tokenMW from "./token"
import errHandlerMW from "./err-handler"

export default compose([responseTime(), loggerMW, tokenMW, errHandlerMW])